From: Carlos Garnacho Date: Tue, 4 Jun 2024 16:24:25 +0000 (+0200) Subject: keyboard: Disable unredirection when the OSK is shown X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~98 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5c69bb067f55d2499d325f4307c0923c585a2be6;p=gnome-shell.git keyboard: Disable unredirection when the OSK is shown The OSK might be wanted over fullscreen windows triggering unredirection, and the unredirection should be temporarily overridden in that case. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7692 Part-of: --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 73ff1d212..70101e93d 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -1787,6 +1787,8 @@ export const Keyboard = GObject.registerClass({ } _animateShow() { + Meta.disable_unredirect_for_display(global.display); + if (this._focusWindow) this._animateWindow(this._focusWindow, true); @@ -1841,6 +1843,7 @@ export const Keyboard = GObject.registerClass({ _animateHideComplete() { Main.layoutManager.keyboardBox.hide(); + Meta.enable_unredirect_for_display(global.display); } gestureProgress(delta) {